TokenRevocationResponseDto
last analyzed

Complexity

Total Complexity 0

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
eloc 9
dl 0
loc 10
ccs 4
cts 4
cp 1
c 0
b 0
f 0
wmc 0
1 8
import { ApiProperty } from '@nestjs/swagger';
2
3 8
export class TokenRevocationResponseDto {
4
  @ApiProperty()
5 8
  success: boolean;
6
7
  @ApiProperty()
8 8
  message: string;
9
10
  @ApiProperty()
11 8
  revokedCount?: number; // Optional, if you want to include how many tokens were revoked
12
}
13